package com.itheima.controler;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/hello")
public class HelloWorldController {
    private static int count = 0;
    @GetMapping
    public String hello(){
        return "hello" + (count++) + "次!";
    }
}
